﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="DocWeb._Default" %>
<%@ Import Namespace="System.Data" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
  <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
  <script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
  <link rel="stylesheet" href="http://jqueryui.com/resources/demos/style.css" />
    <title></title>
    <script>
        $(function () {
            $("#menu").menu();
        });
    </script>
    <style>
        .ui-menu
        {
            width: 200px;
        }
    </style>
</head>
<body>

    <form id="Form1" runat="server">
    <ul id="menu">
        <asp:Repeater ID="rptSistema" runat="server">
            <ItemTemplate>
                <li>
                    <%#Eval("NOME_SISTEMA")%>
                    <ul>
                    <asp:Repeater ID="childRepeater" DataSource='<%# Eval("LISTA_TELAS") %>' runat="server">
                        <ItemTemplate>
                            <li><a href="#"><%# DataBinder.Eval(Container.DataItem, "NOME_TELA") %></a>
                            </li>
                        </ItemTemplate>
                        <FooterTemplate>
                        </FooterTemplate>
                    </asp:Repeater>
                      </ul>
                </li>
            </ItemTemplate>
        </asp:Repeater>
    </ul>

    <teste>
    </form>
</body>
</html>
